Raise the drag_window after reconfiguring the toolbar. (#320803, Christian
authorMatthias Clasen <mclasen@redhat.com>
Mon, 7 Nov 2005 16:31:48 +0000 (16:31 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 7 Nov 2005 16:31:48 +0000 (16:31 +0000)
2005-11-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktoolitem.c (_gtk_tool_item_toolbar_reconfigured):
Raise the drag_window after reconfiguring the
toolbar.  (#320803, Christian Persch)

ChangeLog
ChangeLog.pre-2-10
gtk/gtktoolitem.c

index 27e4eb1170d20311e71ccf15fe28a567edf71da6..a82a7e8e30542fd26b0c3e40307c49a7f5d337cc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2005-11-07  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtktoolitem.c (_gtk_tool_item_toolbar_reconfigured): 
+       Raise the drag_window after reconfiguring the 
+       toolbar.  (#320803, Christian Persch)
+
        * gtk/gtk.symbols: 
        * gtk/gtkfilechooserbutton.h: 
        * gtk/gtkfilechooserbutton.c: Add a focus-on-click property
index 27e4eb1170d20311e71ccf15fe28a567edf71da6..a82a7e8e30542fd26b0c3e40307c49a7f5d337cc 100644 (file)
@@ -1,5 +1,9 @@
 2005-11-07  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtktoolitem.c (_gtk_tool_item_toolbar_reconfigured): 
+       Raise the drag_window after reconfiguring the 
+       toolbar.  (#320803, Christian Persch)
+
        * gtk/gtk.symbols: 
        * gtk/gtkfilechooserbutton.h: 
        * gtk/gtkfilechooserbutton.c: Add a focus-on-click property
index 35407444a28c9bb89e8314bf1b5437153bf6b31a..b5708221fd4a8296e1a4b4f50204dd50a958d267 100644 (file)
@@ -1138,6 +1138,9 @@ _gtk_tool_item_toolbar_reconfigured (GtkToolItem *tool_item)
   g_signal_emit (tool_item, toolitem_signals[TOOLBAR_RECONFIGURED], 0);
   
   gtk_widget_queue_resize (GTK_WIDGET (tool_item));
+
+  if (tool_item->priv->drag_window)
+    gdk_window_raise (tool_item->priv->drag_window);
 }
 
 #define __GTK_TOOL_ITEM_C__